package com.niuwa.p2p.service.productTemplate;

import com.niuwa.p2p.vo.productTemplate.ProjectProdTmptForm;
import com.niuwa.p2p.vo.productTemplate.ProjectProdTmptVo;

public interface IProjectProdTemplateService {

	/**
	 * 添加模板
	 * 
	 * @param userId
	 *            当前用户ID
	 * @param ppv
	 *            前台表单数据
	 * @throws Exception
	 */
	public void addProjectProductTmplt(long userId, ProjectProdTmptForm tmptForm)
			throws Exception;

	/**
	 * 根据模板ID获取借款项目模板所有信息
	 * 
	 * @param tempId
	 * @return InvestProdTmptVo
	 */
	public ProjectProdTmptVo getProdTmptById(long tempId);

}
